package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 从大类目到小类目
 Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-14
* Copyright © ftg
*/
@ApiModel(value = "从大类目到小类目 ")
@Getter @Setter @Accessors(chain = true)
public class BaseSubject extends BaseCustomEntity {
    private static final long serialVersionUID = 8720325526397154845L;

    /**
    * 父id 
    */
    @ApiModelProperty(value="父id", example = "")
    @Length(max=100, message="父id长度应小于100")
    @TableField()
    private String pid;

    /**
    * 类目名称 
    */
    @ApiModelProperty(value="类目名称", example = "")
    @Length(max=100, message="类目名称长度应小于100")
    @TableField()
    private String subname;

    /**
    * 类目描述 
    */
    @ApiModelProperty(value="类目描述", example = "")
    @Length(max=100, message="类目描述长度应小于100")
    @TableField()
    private String subdesc;

    /**
    * 授课用时(课时数) 
    */
    @ApiModelProperty(value="授课用时(课时数)", example = "")
    @Length(max=100, message="授课用时(课时数)长度应小于100")
    @TableField()
    private String teatime;

    /**
    * 类目图片 
    */
    @ApiModelProperty(value="类目图片", example = "")
    @Length(max=100, message="类目图片长度应小于100")
    @TableField()
    private String subimages;

   @TableField(exist = false)
   private List<String> fileUuidList;
   

} 
